<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
       "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> 
    <title>
      {% block title %}Regex Helper{% endblock %}
    </title>
    
    <link type="text/css" rel="stylesheet" href="/static/bootstrap.css">
    <link type="text/css" rel="stylesheet" href="/static/style.css">
    
    <script type="text/javascript" 
           src="/static/js/jquery-2.0.2.min.js">
    </script>
    <script type="text/javascript" 
           src="/static/js/bootstrap.js">
    </script>

    <script type="text/javascript">
    	
    	$(document).ready(function() {
	  		hideHelp(); 
	    });
    
		function submitenter(myfield,e)
		{
			var keycode;
			if (window.event) keycode = window.event.keyCode;
			else if (e) keycode = e.which;
			else return true;
			
			if (keycode == 13)
			{
				myfield.form.submit();
				return false;
			}
			else
				return true;
		}
	      
	    function showHelp() {
			$("#help").show();
			
			$("#showHideLink").click(hideHelp);
			$("#showHideLink").html("Hide Help");
	    	  
	    }
	      
	    function hideHelp() {
			$("#help").hide();
			
			$("#showHideLink").click(showHelp);
			$("#showHideLink").html("Show Help");
	    	  
	    }
    </script>

    <!-- Facebook info -->
    <meta property="og:title" content="Regex Helper"/> 
    <meta property="og:type" content="website"/> 
    <meta property="og:image" content="http://regexhelper.appspot.com/static/logo2a.png"/> 
    <meta property="og:url" content="http://regexhelper.appspot.com"/> 
    <meta property="og:site_name" content="Regex Helper"/> 
    <meta property="fb:admins" content="3607346"/> 

    <link rel="shortcut icon" href="/static/favicon.png">


  </head>
  
  
  <body>
  	<div id="allcontent">
		<div id="nav"> <!--Navigation -->
		   <h1><a href="index.html" accesskey="1" 
		   {% ifequal path '/index.htm' %}
		   class="selected"
		   {% endifequal %}
		   >Regex Helper</a></h1>
		   <ul>
		     <li><a href="regexmatch.html"
		     {% ifequal path '/regexmatch.html' %}
		     class="selected"
		     {% endifequal %}>Match</a></li>
		     <li><a href="regexreplace.html"
		     {% ifequal path '/regexreplace.html' %}
		     class="selected"
		     {% endifequal %}>Replace</a></li>
		     <li><a href="regexsplit.html"
		     {% ifequal path '/regexsplit.html' %}
		     class="selected"
		     {% endifequal %}>Split</a></li>
		     <li><a href="help.html"
		     {% ifequal path '/help.html' %}
		     class="selected"
		     {% endifequal %}>Help</a></li>
		   </ul>
		  </div>
		
		  
		  <div id="bodycontent">
		    {% block bodycontent %}
		    Don't look at this here.
		    {% endblock %}
		  </div>
		
		<br>
		    
		 <div id="logoandlike">
		 <!-- Like button -->
		<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://regexhelper.appspot.com/" show_faces="true" width="450" colorscheme="light" id="like"></fb:like>
		
		<!-- GAE Logo -->
		 <img src="http://code.google.com/appengine/images/appengine-silver-120x30.gif"
		      alt="Powered by Google App Engine"
		      id="aelogo"/>  
		
		</div id="logoandlike">
  
   </div>
  
  </body>

	<!-- Google Analytics -->
  <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-20179141-1']);
    _gaq.push(['_trackPageview']);

    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
    
  </script>
  
</html>
